package com.study.genericity_demo2;

import java.util.ArrayList;

public class MyArralList<E> {
    private ArrayList arrayList = new ArrayList();
    public boolean add(E e) {
        arrayList.add(e);
        return true;
    }
    public boolean remove(E e) {
        arrayList.remove(e);
        return true;
    }

    @Override
    public String toString() {
        return arrayList.toString();
    }
}



